package com.wangjw.tuling.netty.rpc.util;

/**
 * Created by wangjianwen on 2018/12/11.
 */
public interface Serializer {

    <T> Object deSerialize(byte[] bytes, Class<T> clazz);

    <T> byte[] serialize(T obj);
}
